package com.ruoyi.transaction.vo;

import com.ruoyi.transaction.domain.OrderItemTmp;

import javax.annotation.security.RunAs;
import java.math.BigDecimal;

/**
 * Created by gzdmt01 on 2019/4/3.
 */

public class testBeanUtils {

    public static void main(String[] args) {
        OrderItemTmp orderItemTmp= new OrderItemTmp();
        orderItemTmp.setUserId(1);
        orderItemTmp.setDeclaredValue(BigDecimal.TEN);
        orderItemTmp.setExpressNo("112");
        orderItemTmp.setGoodsName("手机");
        OrderItemTmpVo orderItemTmpVo=new OrderItemTmpVo();
        OrderItemTmpVo vo=OrderItemTmpVo.TranFrom(orderItemTmp);
        System.out.println(vo.getExpressNo());
    }
}
